home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 1303 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: news.wwa.com!news
  2. From: arway@wwa.com  (Ken Arway)
  3. Newsgroups: comp.lang.rexx,comp.os.os2.apps
  4. Subject: Re: epm menus with Rexx buildSubmenu
  5. Date: 9 Mar 1996 21:18:41 GMT
  6. Organization: WorldWide Access (tm) - Chicagoland Internet Services (http://www.wwa.com)
  7. Distribution: inet
  8. Message-ID: <4hssjh$7p9@kirin.wwa.com>
  9. References: <4hsjpb$2pg$1@mhadf.production.compuserve.com>
  10. Reply-To: arway@wwa.com
  11. NNTP-Posting-Host: pool5-017.wwa.com
  12. X-Newsreader: IBM NewsReader/2 v1.2.5
  13.  
  14. In <4hsjpb$2pg$1@mhadf.production.compuserve.com>, Michael Miller <102261.206@CompuServe.COM> writes:
  15.  
  16. >2) My new menu appears after (i.e. to the right of) the help 
  17. >menu.  How would I insert it before the help menu?
  18.  
  19.     Use the "deletemenu defaultmenu, 6, 0, 0" ("Help" is menu item #6)
  20. and "call readd_help_menu" construction.  For example, my MYSTUFF.E
  21. has the following:
  22.  
  23. definit
  24.    universal defaultmenu, activemenu
  25.    deletemenu defaultmenu, 6, 0, 0
  26.    buildsubmenu defaultmenu, <blah, blah>
  27.    buildmenuitem defaultmenu, <blah, blah>
  28.    buildmenuitem defaultmenu, <blah, blah>
  29.    buildmenuitem defaultmenu, <blah, blah>
  30.    buildmenuitem defaultmenu, <blah, blah>
  31.    buildmenuitem defaultmenu, <blah, blah>
  32.    call readd_help_menu()
  33.    call maybe_show_menu()
  34.  
  35.      I'm not positive, but I think that if you're using those in a 
  36. PROFILE.ERX each line must be bracketed with quotes.
  37.  
  38. So sayeth,
  39.      Ken Arway
  40.  
  41.